import 'package:flutter/material.dart';
import 'package:flutter_common_app/widgets/app_bar/custom_app_bar.dart';

class CustomGradientAppBar extends CustomAppBar {
  CustomGradientAppBar(
    Widget title, {
    LinearGradient gradient,
    Widget leading,
    List<Widget> actions,
  }) : super(
          title,
          flexibleSpace: Container(
            decoration: BoxDecoration(
              gradient: gradient,
            ),
          ),
          leading: leading,
          actions: actions,
        );
}
